{% extends "news/base.html" %}

{% block title %}
    <title>首页-DNews</title>
{% endblock %}

{% block script %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block categories %}
    <ul class="menu fl">
        {% for cate in data.categoryList %}
            {% if cate.id == 1 %}
                <li data-cid="{{ cate.id }}" class="active"><a href="javascript:">{{ cate.name }}</a></li>
            {% else %}
                <li data-cid="{{ cate.id }}"><a href="javascript:">{{ cate.name }}</a></li>
            {% endif %}
        {% endfor %}
    </ul>
{% endblock %}

{% block content %}
    <ul class="list_con fl">

    </ul>
{% endblock %}
